package com.blb.orderservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//扫描feign接口
@EnableFeignClients(basePackages = "com.blb.common.feign")
@EnableDiscoveryClient
//加上扫描公共项目包
@SpringBootApplication(scanBasePackages = {"com.blb.orderservice","com.blb.common"})
public class OrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }

}
